package com.spg.apidoc.resource.mark.output;

import javax.xml.bind.annotation.XmlRootElement;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.spg.apidoc.resource.PrimaryKey;
import com.spg.apidoc.resource.ReturnMsg;
import com.wordnik.swagger.annotations.ApiModel;


@ApiModel(value = "添加积分资源返回")  
@JsonSerialize
@XmlRootElement
public class MarkSource extends ReturnMsg{
	public MarkSource(String errCode, String errMsg,PrimaryKey data) {
		super(errCode, errMsg);
		this.data=data;
	}
	
	public MarkSource(String errCode, String errMsg) {
		super(errCode, errMsg);
	}
	
	public PrimaryKey getData() {
		return data;
	}

	public void setData(PrimaryKey data) {
		this.data = data;
	}

	private PrimaryKey data;
}
